From de3eb81e4b2cfbb7b9cc63928d54fd0a66e69a67 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Thu, 14 Sep 2017 15:53:22 -0400 Subject: [PATCH] ApiFeedWatchlist: Fix copy-paste error Change-Id: Ibea5bd881c746d7c27c97fc470ee1e3ac9d4b699 --- includes/api/ApiFeedWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index b7c5ccc269..e3a757f79a 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -167,7 +167,7 @@ class ApiFeedWatchlist extends ApiBase { // Something is seriously wrong $errorCode = 'internal_api_error'; } - $errorTitle = $this->msg( 'api-feed-error-title', $msg->getApiCode() ); + $errorTitle = $this->msg( 'api-feed-error-title', $errorCode ); $errorText = $e->getMessage(); $feedItems[] = new FeedItem( $errorTitle, $errorText, '', '', '' ); } -- 2.20.1